#pragma once
#include <Arduino.h>
#include "led_driver.h"
#include "effects.h"
#include "ttl_serial.h"
#include "bluetooth_serial.h"

// 红外遥控命令处理函数
void handleIRCommand(uint32_t command, LEDDriver& ledDriver, BaseEffect*& currentEffect, 
                    int& currentEffectIndex, bool& systemRunning, TTLSerial& ttlSerial, 
                    BluetoothSerial& btSerial);
